package com.woniu.darryringmall.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.darryringmall.admin.entity.Manager;
import com.woniu.darryringmall.admin.entity.Perm;

import java.util.List;

/**
 * 管理员service接口
 */
public interface ManagerService extends IService<Manager> {
    Manager getByAccount(String name);

    List<Perm> getPermsByManagerId(int id);
}
